<?php
namespace Kxdr\Model;
use Think\Model\ViewModel;
class ToolViewModel extends ViewModel {
   public $viewFields = array(
     'tool'=>array('_table'=>"sm_tools",'id','tool_type','name','templet_code','pic_url','gray_pic','_type'=>'LEFT'),
	 'status'=>array('_table'=>'sm_tools_status','status','version','sid','cfg','_on'=>'status.tool_id=tool.id','_type'=>'LEFT'),
  );
 }